Alma\Woocommerce\Alma_Payment_Gateway B

Total Complexity 98
Dependencies 19
Dependents 0
Total lines 835
Lines of code 457
Logical lines of code 235
Comment lines 258
Methods 29
Properties 11

Methods 29

Method Rating Maintainability Complexity Lines of code
is_available()
A
54 9 23
get_tab_and_section()
A
50 8 30
process_checkout_legal()
A
51 8 26
soc_has_changed()
A
56 8 18
clean_credentials()
S
59 6 15
process_admin_options()
S
51 5 26
init_admin_form()
S
55 5 19
generate_text_alma_i18n_html()
S
45 3 45
validate_fields()
S
56 4 19
init_settings()
S
63 5 10
convert_amounts_to_cents()
S
60 4 13
manage_credentials()
S
59 3 14
check_alma_keys()
S
62 3 12
generate_title_html()
S
52 2 27
__construct()
S
52 2 24
reset_plans()
S
64 3 10
encrypt_keys()
S
66 3 9
process_payment()
S
58 2 15
init_alma_client()
S
60 2 13
generate_select_alma_fee_plan_html()
S
59 1 18
init_alma_merchant()
S
66 2 8
add_filters()
S
60 1 15
get_option()
S
68 2 7
check_activation()
S
63 2 10
add_actions()
S
62 1 13
get_option_key()
S
82 1 3
get_icon()
S
79 1 3
init_form_fields()
S
72 1 5
payment_fields()
S
68 1 7